[INFO] fetching crate json-request 0.2.0...
[INFO] building json-request-0.2.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate json-request 0.2.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate json-request 0.2.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate json-request 0.2.0
[INFO] finished tweaking crates.io crate json-request 0.2.0
[INFO] tweaked toml for crates.io crate json-request 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 625b4ca01b00406ebca3bd7902e792f04c49a49a121dec5f4e5ad5df797fddf7
[INFO] running `Command { std: "docker" "start" "-a" "625b4ca01b00406ebca3bd7902e792f04c49a49a121dec5f4e5ad5df797fddf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "625b4ca01b00406ebca3bd7902e792f04c49a49a121dec5f4e5ad5df797fddf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "625b4ca01b00406ebca3bd7902e792f04c49a49a121dec5f4e5ad5df797fddf7", kill_on_drop: false }`
[INFO] [stdout] 625b4ca01b00406ebca3bd7902e792f04c49a49a121dec5f4e5ad5df797fddf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68ac8b3c2c442455c910ba813030dc05c19f987e89c3e438368e54106d01ae1f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "68ac8b3c2c442455c910ba813030dc05c19f987e89c3e438368e54106d01ae1f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling tokio v1.6.1
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling http-body v0.4.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling hyper v0.14.8
[INFO] [stderr]    Compiling json-request v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::method`
[INFO] [stdout]   --> src/lib.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use hyper::method::Method;
[INFO] [stdout]    |                ^^^^^^ could not find `method` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::Client`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use hyper::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `Client` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::status`
[INFO] [stdout]   --> src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use hyper::status::StatusClass;
[INFO] [stdout]    |            ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `header`
[INFO] [stdout]    --> src/lib.rs:154:49
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   .header(header::Connection::close())
[INFO] [stdout]     |                                       ^^^^^^^^^^ could not find `Connection` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `header`
[INFO] [stdout]    --> src/lib.rs:161:49
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...                   .header(header::Connection::close());
[INFO] [stdout]     |                                       ^^^^^^^^^^ could not find `Connection` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn cause(&self) -> Option<&::std::error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:152:27
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let payload = try!(json::encode(&inner));
[INFO] [stdout]     |                           ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |             try!(builder.send())
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |             try!(builder.send())
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             try!(res.read_to_string(&mut body));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |             Some(try!(json::decode::<D>(&body[..])))
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/lib.rs:73:47
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Error::HttpClient(ref err) => err.description(),
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/lib.rs:74:48
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Error::JsonDecoder(ref err) => err.description(),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/lib.rs:75:48
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Error::JsonEncoder(ref err) => err.description(),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/lib.rs:76:44
[INFO] [stdout]    |
[INFO] [stdout] 76 |             Error::IoError(ref err) => err.description(),
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/lib.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |         f.write_str(self.description())
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{Read, self};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json-request`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "68ac8b3c2c442455c910ba813030dc05c19f987e89c3e438368e54106d01ae1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68ac8b3c2c442455c910ba813030dc05c19f987e89c3e438368e54106d01ae1f", kill_on_drop: false }`
[INFO] [stdout] 68ac8b3c2c442455c910ba813030dc05c19f987e89c3e438368e54106d01ae1f
